home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
17 Bit Software 3: The Continuation
/
17-Bit_The_Continuation_Disc.iso
/
amigan
/
amigan 16
/
undelete
/
undelete.doc
< prev
next >
Wrap
Text File
|
1994-01-27
|
2KB
|
64 lines
NOTES ON UNDELETE
Well, what do you want for nothing...it works!
This was probably my first finished program in C for the Amiga, back in
1986. I was frustrated by typing "delete #?.bas" when I meant to type
"delete #?.bak". I lost a couple of programs I have never tried to
regenerate.
Oh, well, here's the description.
Undelete will allow you to recover deleted files from a 3.5" diskette,
as long as you haven't overwritten them, and will save those files on
another diskette or to ramdisk. It recovers files ONLY from disks
placed in drive 0 (it asks you to insert the disk).
It does not work from Workbench. Use it only from CLI. Following
is a typical command line, which assumes that UNDELETE is in RAM:
1> ram:undelete lost_file ram:
/ | \
execute program Name of The destination of recovered
deleted file. file.
A couple of warnings:
1. Do NOT include DF0: or the directory layers to the lost
file. The following command will FAIL:
1> ram:undelete df0:mydir/lost_file
No matter how deeply the file was nested in directories, give
ONLY its filename, not the directory path or drive number. For
example, assume you deleted file "df0:test/moretests/myfile." Get
it back with the command below (again assuming UNDELETE is in
RAM) and you want the recovered file sent to RAM:
1> ram:undelete myfile ram:
2. Do NOT attempt to give it a filename at destination! (such
as ram:got_it_back). The program re-creates the file at the
destination under its original filename, PLUS the block number
where it started (essential if there were two deleted files of
the same name!).
Limitations:
You must enter the name exactly as it was spelled originally,
though case doesn't matter.
It will only read from the internal 3.5" drive.
It sometimes won't find your file anyway.
Future Enhancements:
Read from any drive (including DH0:?)
Allow user to choose file to recover by point-and-click, or
maybe Soundex (Ambitious!), or just partial spelling.
???
I would have added more features a long time ago, but I honestly did not
know anyone was using this program, so if no one says anything about it,
it may be another two years before I work on it again.
Use it in good health.
-jec